package com.xszx.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@NoArgsConstructor
@AllArgsConstructor
@Table(name = "start_account")
@Entity
@Data
public class StartAccount {

    @Id
    private Long id;

    @Column(name = "account",nullable = false,unique = true)
    private String account;

    @Column(name = "account_type")
    private String accountType;
}
